# -*- coding: utf-8 -*-
"""
Created on Sun Feb 18 09:26:40 2018

@author:  罗干
"""

import pandas as pd
import numpy as np
from fbprophet import Prophet
import matplotlib.pyplot as plt
import tushare as ts
import time

while(True):
    start_time=time.time()
    de=ts.get_k_data('600782',ktype='5')
    de=de.sort_index(ascending='false')
    print(de)
    print("timecost...."+str(time.time()-start_time))
    time.sleep(60)
